#include "ParameterConstant.h"

ParameterConstant::ParameterConstant(double constant):m_constant(constant)
{
	m_constantsquare = m_constant*m_constant;
}
double ParameterConstant::integral(double time1, double time2)
{
	return m_constant*(time2-time1);
}

double ParameterConstant::integralsquare(double time1, double time2)
{
	return m_constantsquare*(time2-time1);
}